part of 'header.dart';

class NewsDetailTitleView extends StatelessWidget {
  const NewsDetailTitleView({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
        padding: EdgeInsets.symmetric(horizontal: gap12),
        child: Column(
          children: [
            Text(
              '2021年政府优惠政策大全，在哪里可以看到最新的政府补贴政策',
              style: pfSCStyle(color: ColorsUtil.title, fontSize: 21.sp),
            ),
            SizedBox(
              height: gap15,
            ),
            Row(
              children: [
                Text(
                  '政府网官方',
                  style: pfMediumStyle(
                      color: ColorsUtil.content, fontSize: font12),
                ),
                Container(
                  color: ColorsUtil.content,
                  width: 0.5.r,
                  height: 10.r,
                  margin: EdgeInsets.symmetric(horizontal: gap10),
                ),
                Text(
                  '2021-08-14',
                  style: pfMediumStyle(
                      color: ColorsUtil.content, fontSize: font12),
                ),
              ],
            ),
            SizedBox(
              height: gap20,
            ),
          ],
        ));
  }
}
